Skip to content

Conversation

Diaphteiros
Copy link
Contributor

What this PR does / why we need it:
Adds a client.Client implementation that can be configured to retry operations multiple times instead of returning an error on the first unsuccessful attempt.

Which issue(s) this PR fixes:
Required for openmcp-project/openmcp-operator#67

Special notes for your reviewer:
Factored out of #66

Release note:

Added a `pkg/retry` package that contains a `client.Client` implementation which retries failed k8s operations according to configurable parameters (interval, max number of attempts, timeout, interval backoff multiplier).

@Diaphteiros Diaphteiros merged commit 264bad4 into main Jul 14, 2025
7 checks passed
@Diaphteiros Diaphteiros deleted the retry branch July 14, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants